package com.example.booklist.mapper;

import com.example.booklist.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Controller;

@Controller
@Mapper
public interface UserInfoMapper {

    @Select("select * from user_info where username = #{username} and password = #{password}")
    UserInfo select(UserInfo userInfo);
}
